package com.xxin.pojo.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
    @author 小欣
    @version 1.0
    @since 1.8
*/

/**
 * 收费记录表
 */
public class ChargeRecords implements Serializable {
	private Long id;
	
	/**
	 * 收费来源ID
	 */
	private Long targetId;
	
	/**
	 * 病人表主键ID
	 */
	private Long patientId;
	
	/**
	 * 收费来源类型 1-->药方；2-->检查单
	 */
	private Integer targetType;
	
	/**
	 * 支付方式 1-->现金；2-->支付宝；3-->微信
	 */
	private Integer paymentMethod;
	
	/**
	 * 总金额(￥)
	 */
	private BigDecimal money;
	
	/**
	 * 实际支付金额(￥)
	 */
	private BigDecimal payMoney;
	
	/**
	 * 医保报销金额(￥)
	 */
	private BigDecimal medicareMoney;
	
	/**
	 * 支付时间
	 */
	private LocalDateTime payTime;
	
	/**
	 * 创建时间
	 */
	private LocalDateTime createdTime;
	
	/**
	 * 修改时间
	 */
	private LocalDateTime updatedTime;
	
	private static final long serialVersionUID = 1L;
	
	public Long getId() {
		return id;
	}
	
	public void setId(Long id) {
		this.id = id;
	}
	
	public Long getTargetId() {
		return targetId;
	}
	
	public void setTargetId(Long targetId) {
		this.targetId = targetId;
	}
	
	public Long getPatientId() {
		return patientId;
	}
	
	public void setPatientId(Long patientId) {
		this.patientId = patientId;
	}
	
	public Integer getTargetType() {
		return targetType;
	}
	
	public void setTargetType(Integer targetType) {
		this.targetType = targetType;
	}
	
	public Integer getPaymentMethod() {
		return paymentMethod;
	}
	
	public void setPaymentMethod(Integer paymentMethod) {
		this.paymentMethod = paymentMethod;
	}
	
	public BigDecimal getMoney() {
		return money;
	}
	
	public void setMoney(BigDecimal money) {
		this.money = money;
	}
	
	public BigDecimal getPayMoney() {
		return payMoney;
	}
	
	public void setPayMoney(BigDecimal payMoney) {
		this.payMoney = payMoney;
	}
	
	public BigDecimal getMedicareMoney() {
		return medicareMoney;
	}
	
	public void setMedicareMoney(BigDecimal medicareMoney) {
		this.medicareMoney = medicareMoney;
	}
	
	public LocalDateTime getPayTime() {
		return payTime;
	}
	
	public void setPayTime(LocalDateTime payTime) {
		this.payTime = payTime;
	}
	
	public LocalDateTime getCreatedTime() {
		return createdTime;
	}
	
	public void setCreatedTime(LocalDateTime createdTime) {
		this.createdTime = createdTime;
	}
	
	public LocalDateTime getUpdatedTime() {
		return updatedTime;
	}
	
	public void setUpdatedTime(LocalDateTime updatedTime) {
		this.updatedTime = updatedTime;
	}
}